package com.kuangxiaoyang.foodapp.pojo;

public class Comment {

    /**
     * msg : 成功
     * successs : true
     * data : {"id":14,"comment":"demoData","foods":{"id":1,"description":"烤鸭烤鸭烤鸭烤鸭烤鸭","icon":"f1.png","label":"烤鸭烤鸭烤鸭","name":"烤鸭","price":88},"postdate":"2020-09-24","users":{"id":1,"name":"黎明","password":"123456","telephone":"12345678901"}}
     */

    private String msg;
    private boolean successs;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccesss() {
        return successs;
    }

    public void setSuccesss(boolean successs) {
        this.successs = successs;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 14
         * comment : demoData
         * foods : {"id":1,"description":"烤鸭烤鸭烤鸭烤鸭烤鸭","icon":"f1.png","label":"烤鸭烤鸭烤鸭","name":"烤鸭","price":88}
         * postdate : 2020-09-24
         * users : {"id":1,"name":"黎明","password":"123456","telephone":"12345678901"}
         */

        private Integer id;
        private String comment;
        private FoodsBean foods;
        private String postdate;
        private UsersBean users;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public FoodsBean getFoods() {
            return foods;
        }

        public void setFoods(FoodsBean foods) {
            this.foods = foods;
        }

        public String getPostdate() {
            return postdate;
        }

        public void setPostdate(String postdate) {
            this.postdate = postdate;
        }

        public UsersBean getUsers() {
            return users;
        }

        public void setUsers(UsersBean users) {
            this.users = users;
        }

        public static class FoodsBean {
            /**
             * id : 1
             * description : 烤鸭烤鸭烤鸭烤鸭烤鸭
             * icon : f1.png
             * label : 烤鸭烤鸭烤鸭
             * name : 烤鸭
             * price : 88
             */

            private Integer id;
            private String description;
            private String icon;
            private String label;
            private String name;
            private Float price;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Float getPrice() {
                return price;
            }

            public void setPrice(Float price) {
                this.price = price;
            }
        }

        public static class UsersBean {
            /**
             * id : 1
             * name : 黎明
             * password : 123456
             * telephone : 12345678901
             */

            private Integer id;
            private String name;
            private String password;
            private String telephone;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getTelephone() {
                return telephone;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }
        }
    }
}
